var OGDetail = Vue.component('OGDetail', {
    data() {
        return {
            data: {
                id: ''
            }
        }
    },

    template: `<div class="order__OGDetail">
                    <div>
                        <h3 class="index__title">抢单详情</h3>
                    </div>
                    <div class="table__two">
                        <div class="table__two__list">
                            <table>
                                <tbody>
                                    <tr>
                                        <th>
                                            <span>产品名称</span>
                                        </th>
                                        <td>
                                            <input type="text" placeholder="输入" size="10" readonly>
                                        </td>
                                    </tr>
                                    <tr>
                                        <th>
                                            <span>抢单工厂</span>
                                        </th>
                                        <td>
                                            <input type="text" placeholder="输入" size="10" readonly>
                                        </td>
                                    </tr>
                                    <tr>
                                        <th>
                                            <span>货单分类</span>
                                        </th>
                                        <td>
                                            <input type="text" placeholder="输入" size="10" readonly>
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                    <div class="table__two">
                        <div class="table__two__list">
                            <table>
                                <tbody>
                                    <tr>
                                        <th>
                                            <span>主图</span>
                                        </th>
                                        <td>
                                            <span class="table__upload">
                                                <input type="file">
                                            </span>
                                        </td>
                                    </tr>
                                    <tr>
                                        <th>
                                            <span>款式图</span>
                                        </th>
                                        <td>
                                            <span class="table__upload">
                                                <input type="file">
                                            </span>
                                        </td>
                                    </tr>
                                    <tr>
                                        <th>
                                            <span>粘衬部位</span>
                                        </th>
                                        <td>
                                            <span class="table__upload">
                                                <input type="file">
                                            </span>
                                        </td>
                                    </tr>
                                    <tr>
                                        <th>
                                            <span>背面图</span>
                                        </th>
                                        <td>
                                            <span class="table__upload">
                                                <input type="file">
                                            </span>
                                        </td>
                                    </tr>
                                    <tr>
                                        <th>
                                            <span>关键部位细节</span>
                                        </th>
                                        <td>
                                            <span class="table__upload">
                                                <input type="file">
                                            </span>
                                        </td>
                                    </tr>
                                    <tr>
                                        <th>
                                            <span>关键部位细节图</span>
                                        </th>
                                        <td>
                                            <span class="table__upload">
                                                <input type="file">
                                            </span>
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                    <div class="table__two">
                        <div class="table__two__list">
                            <table>
                                <tbody>
                                    <tr>
                                        <th colspan="2">
                                            <h6>产品类型</h6>
                                        </th>
                                    </tr>
                                    <tr>
                                        <th>
                                            <span>产品名称</span>
                                        </th>
                                        <th>
                                            <span>男装、女装、童装</span>
                                        </th>
                                    </tr>
                                    <tr>
                                        <td>
                                            <span></span>
                                        </td>
                                        <td>
                                            <input type="text">
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>`,

    methods: {
        
    },

    created() {
        let id = this.$route.query.id
        this.data.id = id
    },
})